* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;

}

a {
    text-decoration: none;
    color: #333;
    outline: none;
}

ul,
ol {
    list-style: none;
}

.topnav {
    background-color: #333;
}

.container {
    width: 1240px;
    margin: 0 auto;
    position: relative;
}

.topul {
    height: 53px;
    display: flex;
    justify-content: end;
    align-items: center;
}

.topul>li>a {
    display: inline-block;
    padding: 0 15px;
    font-size: 14px;
    line-height: 1;
    color: #cdcdcd;
    letter-spacing: 0;
    border-left: 2px solid #666;
}

.topul>li>a .iconfont {
    font-size: 14px;
    margin-right: 2px;
}

.topul>li .login {
    border-left: none;
}

.topul>li>a:hover {
    color: #27ba9b;
}

.header-sticky {
    width: 100%;
    height: 80px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    background-color: #fff;
    border-bottom: 1px solid #e4e4e4;
    transform: translateY(-100%);
    opacity: 0;
}

.header-sticky .logo {
    width: 200px;
    height: 80px;
    background: url(http://megasu.gitee.io/rabbit-vue3-ts/assets/logo.30c5f706.png) no-repeat right 2px;
    background-size: 160px auto;
}

.show {
    transition: all .3s linear;
    transform: translateY(0);
    opacity: 1;
}

.show .right {
    width: 220px;
    display: flex;
    text-align: center;
    padding-left: 40px;
    border-left: 2px solid #27ba9b;
}

.show .right a {
    width: 38px;
    margin-right: 40px;
    font-size: 16px;
    line-height: 1;
}

.header .container,
.header-sticky .container {
    display: flex;
    align-items: center;
}

.logo {
    width: 200px;
}

.logo a {
    display: block;
    height: 132px;
    width: 100%;
    background: url(http://megasu.gitee.io/rabbit-vue3-ts/assets/logo.30c5f706.png) no-repeat center 18px / contain;
}

.headernav {
    width: 820px;
    display: flex;
    padding-left: 40px;
}

.headernav li {
    margin-right: 40px;
    width: 38px;
    text-align: center;
}

.headernav li a {
    display: inline-block;
    font-size: 16px;
    line-height: 32px;
    height: 32px;
}

.headernav>li>a:hover {
    color: #27ba9b;
    border-bottom: 1px solid #27ba9b;
}

.header .search {
    width: 170px;
    height: 32px;
    border-bottom: 1px solid #e7e7e7;
    line-height: 32px;
}

.header .search .iconfont {
    font-size: 18px;
    margin-left: 5px;
}

.header .search input {
    width: 140px;
    padding-left: 5px;
    color: #666;
    border: none;
    outline: none;
}

.header .shopcar {
    width: 50px;
}

.header .shopcara {
    display: block;
    height: 32px;
    line-height: 32px;
    text-align: center;
    position: relative;
}

.header .shopcara .iconfont {
    font-size: 22px;
}

.header .shopcara em {
    font-style: normal;
    position: absolute;
    right: 0;
    top: 0;
    padding: 1px 6px;
    line-height: 1;
    background: #e26237;
    color: #fff;
    font-size: 12px;
    border-radius: 10px;
}

.category {
    width: 250px;
    height: 500px;
    background: rgba(0, 0, 0, .8);
    position: relative;
    z-index: 1;
}

.category ul li {
    padding-left: 40px;
    height: 55px;
    line-height: 55px;
}

.category ul li:hover {
    background-color: #27ba9b;
}


.category ul li .layer {
    width: 990px;
    height: 500px;
    background: #ffffff;
    position: absolute;
    left: 250px;
    top: 0;
    display: none;
    padding: 0 15px;
}

.category ul li .layer h4 {
    font-size: 20px;
    font-weight: 400;
    line-height: 80px;
}

.category ul li .layer h4 small {
    font-size: 16px;
    color: #666;
}

.category ul li .layer ul {
    display: flex;
    flex-wrap: wrap;
}

.category ul li .layer ul li {
    width: 305px;
    height: 120px;
    margin-right: 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fff;
}

.category ul li .layer ul li a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    padding: 10px;
}

.category ul li .layer ul li a img {
    width: 95px;
    height: 95px;
}

.category ul li .layer ul li a .info {
    padding-left: 10px;
    line-height: 24px;
    overflow: hidden;
}

.category ul li .layer ul li a .info .name {
    font-size: 16px;
    color: #666;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.category ul li .layer ul li a .info .desc {
    color: #999;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.category ul li .layer ul li a .info .price {
    font-size: 22px;
    color: #cf4444;
}

.category ul li .layer ul li a .info .price i {
    font-size: 16px;
}

.category ul li a {
    margin-right: 4px;
    color: #fff;
}

.category ul li a:first-child {
    font-size: 16px;
}

.banner {
    width: 1240px;
    height: 500px;
    position: absolute;
    left: 0;
    top: 0;
}

.banner .slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner .slider ul {
    width: 100%;
    height: 100%;
}

.banner .slider ul li {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transition: all .5s linear;
}

.banner .slider ul li img {
    width: 100%;
    height: 100%;
}

.banner .indicator {
    display: flex;
    justify-content: center;
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.banner .slider ol li {
    margin-right: 16px;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.43);
    border-radius: 50%;
}

.banner .slider ol .active {
    background-color: #fff;
}

.goods .hd {
    height: 114px;
    line-height: 114px;
}

.goods .hd h2 {
    float: left;
    height: 114px;
    font-size: 29px;
    font-weight: 400;
}

.goods .hd span {
    margin-left: 34px;
    font-size: 16px;
    color: #999;
}

.goods .hd a {
    font-size: 16px;
    float: right;
    color: #999;
}

.goods .hd a::after {
    content: '';
    display: inline-block;
    margin-left: 13px;
    width: 7px;
    height: 13px;
}

.goods .bd li {
    float: left;
    margin-right: 8px;
    width: 304px;
    height: 405px;
    background-color: #f0f9f4;
}

.goodslist li {
    transition: all .5s
}

.goodslist li:hover {
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 3px 8px #0003;
}

.goods .bd li:nth-last-child(1) {
    margin-right: 0;
}

.goods .bd li h3 {
    font-size: 22px;
    padding: 12px 30px 0;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.goods .bd img {
    width: 304px;
    height: 305px;
}

.goods .bd h3 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
}

.goods .bd div {
    font-size: 17px;
    color: #9a2e1f;
    text-align: center;
}

.goods .bd div span {
    font-size: 23px;
}

.recommend .hd {
    height: 114px;
    line-height: 114px;
}

.recommend .hd h2 {
    float: left;
    font-size: 29px;
    font-weight: 400;
    height: 114px;
}

.recommend .hd h2 span {
    margin-left: 34px;
    font-size: 16px;
    color: #999;
}

.recommend .hd a {
    float: right;
    color: #999;
}

.recommend .hd a::after {
    content: '';
    display: inline-block;
    margin-left: 13px;
    width: 7px;
    height: 13px;
}

.clearfix::before,
.clearfix::after {
    content: '';
    display: table;
}

.clearfix::after {
    clear: both;
}

.recommend .bd li {
    position: relative;
    float: left;
    margin-right: 8px;
    width: 304px;
    height: 405px;
    text-align: center;
}

.recommend .bd li:nth-child(4n) {
    margin-right: 0;
}

.recommend .bd li img {
    width: 304px;
}

.recommend .bd li h3 {
    margin-top: 12px;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 400;
}

.recommend .bd li div {
    color: #9a2e1f;
    font-size: 17px;
}

.recommend .bd li div span {
    font-size: 18px;
    color: #999;
}

.footer {
    overflow: hidden;
    background-color: #f5f5f5;
    padding-top: 20px;
}

.footer .contact {
    background-color: #fff;
}

.footer .contact .container {
    padding: 60px 0 40px 25px;
    display: flex;
}

.footer .contact dl {
    height: 190px;
    text-align: center;
    padding: 0 72px;
    border-right: 1px solid #f2f2f2;
    color: #999
}

.footer .contact dl dt {
    line-height: 1;
    font-size: 18px;
}

.footer .contact dl dd {
    margin: 36px 12px 0 0;
    float: left;
    width: 92px;
    height: 92px;
    padding-top: 10px;
    border: 1px solid #ededed
}

.footer .contact dl dd:last-child {
    margin-right: 0;
}

.footer .contact dl dd .iconfont {
    font-size: 36px;
    display: block;
    color: #666;
}

.footer .contact dl dd:hover .iconfont {
    color: #27ba9b;
}

.footer .contact dl:first-child {
    padding-left: 0;
}

.footer .contact dl .qrcode {
    width: 92px;
    height: 92px;
    padding: 7px;
    border: 1px solid #ededed;
}

img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

.footer .contact .download {
    padding-top: 5px;
    font-size: 14px;
    width: auto;
    height: auto;
    border: none
}

.footer .contact .download span {
    display: block;
}

.footer .contact .download a {
    display: block;
    line-height: 1;
    padding: 10px 25px;
    margin-top: 5px;
    color: #fff;
    border-radius: 2px;
    background-color: #27ba9b;
}

.footer .contact dl:last-child {
    border-right: none;
    padding-right: 0;
}

.footer .contact .hotline {
    padding-top: 20px;
    font-size: 22px;
    color: #666;
    width: auto;
    height: auto;
    border: none;
}

.footer .contact .hotline small {
    display: block;
    font-size: 15px;
    color: #999;
}

.footer .extra {
    background-color: #333;
}

.footer .slogan {
    height: 178px;
    line-height: 58px;
    padding: 60px 100px;
    border-bottom: 1px solid #434343;
    display: flex;
    justify-content: space-between;
}

.footer .slogan a {
    height: 58px;
    line-height: 58px;
    color: #fff;
    font-size: 28px;
}

.footer .slogan a i {
    font-size: 50px;
    vertical-align: middle;
    margin-right: 10px;
    font-weight: 100;
}

.footer .slogan a span {
    vertical-align: middle;
}

.footer .copyright {
    height: 170px;
    padding-top: 40px;
    text-align: center;
    color: #999;
    font-size: 15px;
}

.footer .copyright p {
    line-height: 1;
    margin-bottom: 20px;
}

.footer .copyright p a {
    color: #999;
    line-height: 1;
    padding: 0 10px;
    border-right: 1px solid #999
}

.footer .copyright p a:last-child {
    border-right: none;
}

/* 居家 */
.pagehome {
    display: none;
}

.pagehome .bread {
    display: flex;
    padding: 25px 10px;
}

.pagehome .bread .icon-youjiantou {
    margin: 0 6px;
    font-size: 10px;
}

.pagehome .sub-list {
    margin-top: 20px;
    background-color: #fff;
}

.pagehome h3 {
    font-size: 28px;
    color: #666;
    font-weight: 400;
    text-align: center;
    line-height: 100px;
}

.pagehome .sub-list ul {
    display: flex;
    padding: 0 32px;
    flex-wrap: wrap;
}

.pagehome .sub-list ul li {
    width: 168px;
    height: 160px;
}

.pagehome .sub-list ul li a {
    text-align: center;
    display: block;
    font-size: 16px;
}

.pagehome .sub-list ul li a img {
    width: 100px;
    height: 100px;
}

.pagehome .sub-list ul li a img p {
    line-height: 40px;
}

.pagehome .ref-goods {
    background-color: #fff;
    margin-top: 20px;
    position: relative;
}

.pagehome .ref-goods .head a {
    position: absolute;
    top: 20px;
    right: 20px;
}

<<<<<<< HEAD
.pagehome .ref-goods .head a span {
    font-size: 16px;
    vertical-align: top;
    margin-right: 4px;
    color: #999;
}

.pagehome .ref-goods .body {
    display: flex;
    justify-content: space-around;
    padding: 0 40px 30px;
}

.pagehome .ref-goods .body .goods-item {
    display: block;
    width: 220px;
    padding: 20px 30px;
    text-align: center;
}

.pagehome .ref-goods .body .goods-item img {
    width: 160px;
    height: 160px;
}

.pagehome .ref-goods .body .goods-item p {
    padding-top: 10px;
}

.pagehome .ref-goods .body .goods-item .name {
    font-size: 16px;
}

.pagehome .ref-goods .body .goods-item .ellipsis {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.pagehome .ref-goods .body .goods-item .desc {
    color: #999;
    height: 29px;
}
=======
>>>>>>> b03cd48789182ef90d94f410f802b5a03af5d15c
